package cn.net.yugu.doraemon.event;

import cn.net.yugu.doraemon.api.common.event.Event;

/**
 * 事件投递组件
 *
 * @author xiangzr
 * @version 2021/6/10 19:53:57
 */
public interface EventPostComponent {

  <T extends Event> void post(T event);

  <T extends Event> void postAsync(T event);

}
